package com.silverhaze.diamond.client.settings.ui;

import com.silverhaze.diamond.client.settings.ui.customers.CustomersTabSettings;
import com.silverhaze.diamond.client.settings.ui.details.DetailsTabSettings;
import com.silverhaze.diamond.client.settings.ui.service.ServiceTabSettings;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 * Created by Ivan Babanin (22:52:47 30.05.2008)
 * This part of code is strictly confidential.
 * © Magnificent Software Inc.
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
public class UISettings {

    @XmlAttribute()
    private String lastLoginName;

    @XmlElement(name = "mainFrameSettings")
    private MainFrameSettings mainFrameSettings;

    @XmlElement(name = "serviceTabSettings")
    private ServiceTabSettings serviceTabSettings;

    @XmlElement(name = "detailsTabSettings")
    private DetailsTabSettings detailsTabSettings;

    @XmlElement(name = "customersTabSettings")
    private CustomersTabSettings customersTabSettings;

    public UISettings() {
        lastLoginName = "";
        mainFrameSettings = new MainFrameSettings();
        serviceTabSettings = new ServiceTabSettings();
        detailsTabSettings = new DetailsTabSettings();
        customersTabSettings = new CustomersTabSettings();
    }

    public MainFrameSettings getMainFrameSettings() {
        return mainFrameSettings;
    }

    public void setMainFrameSettings(MainFrameSettings mainFrameSettings) {
        this.mainFrameSettings = mainFrameSettings;
    }

    public ServiceTabSettings getServiceTabSettings() {
        return serviceTabSettings;
    }

    public void setServiceTabSettings(ServiceTabSettings serviceTabSettings) {
        this.serviceTabSettings = serviceTabSettings;
    }

    public DetailsTabSettings getDetailsTabSettings() {
        return detailsTabSettings;
    }

    public void setDetailsTabSettings(DetailsTabSettings detailsTabSettings) {
        this.detailsTabSettings = detailsTabSettings;
    }

    public CustomersTabSettings getCustomersTabSettings() {
        return customersTabSettings;
    }

    public void setCustomersTabSettings(CustomersTabSettings customersTabSettings) {
        this.customersTabSettings = customersTabSettings;
    }

    public String getLastLoginName() {
        return lastLoginName;
    }

    public void setLastLoginName(String lastLoginName) {
        this.lastLoginName = lastLoginName;
    }
}

